package com.example.friend.entity.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_exam_question")
public class ExamQuestionDO extends BaseEntity implements Serializable {

    @TableId(value = "exam_question_id", type = IdType.ASSIGN_ID)
    private Long examQuestionId;

    @TableField("exam_id")
    private Long examId;

    @TableField("question_id")
    private Long questionId;

    @TableField("question_order")
    private Integer questionOrder;
}
